<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>显示所有律师</title>
    <!-- 新 Bootstrap 核心 CSS 文件 -->
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container">
        <h3>律师列表</h3>
        <table class="table table-bordered text-center">
            <tr>
                <td>律师编号</td>
                <td>姓名</td>
                <td>民族</td>
                <td>毕业院校</td>
                <td>删除</td>
            </tr>
            <tr th:each="lawyer:${lawList}">
                <td th:text="${lawyer.lawyerid}"></td>
                <td th:text="${lawyer.lawyername}"></td>
                <td th:text="${lawyer.nation}"></td>
                <td th:text="${lawyer.school}"></td>
                <td><a th:href="@{/del(lawyerid=${lawyer.lawyerid})}" class="btn btn-info">删除</a></td>

            </tr>

        </table>
    </div>

</body>
</html>